package huawei.exam2;

import java.util.Scanner;

/**
 * @author : Rookie
 * @description :
 * @date : 2023/6/23
 */
public class HJ29 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String unEncryptStr = scanner.nextLine();
        String encryptStr = scanner.nextLine();
        System.out.println(encrypt(unEncryptStr));
    }

    private static String encrypt(String str) {
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < str.length(); i++) {
            char c = str.charAt(i);
            if (Character.isDigit(c)) {
                int num = Integer.parseInt(String.valueOf(c));
                if (num == 9) {
                    sb.append(0);
                } else {
                    sb.append(num+1);
                }
            } else if (Character.isLetter(c)) {
                if (c >= 'a' && c < 'z') {
                    sb.append(Character.toUpperCase(c+1));
                } else if (c >= 'A' && c < 'Z') {
                    sb.append(Character.toLowerCase(c + 1));
                } else if (c == 'z') {
                    sb.append("A");
                } else if (c == 'Z') {
                    sb.append("a");
                }
            }
        }
        return sb.toString();
    }
}
